<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <title>Title</title>
    <style>
        /*//这需要给html，body也加上*/
        html,body,#map{
            width:100%;
            height:100%;
            margin: 0;
        }
    </style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=856eca3e6760cb2f70788bf3f4d9a4d0"></script>
<script type="text/javascript">

var map=new AMap.Map("map",{
    zoom:10,//这个是控制初始默认缩放大小
    resizeEnable:true, //是否监控尺寸变化
    lang:"zh_en",//这个是中英文      zh_cn是中文  en是英文
    center:[116.39,39.9],
    zooms:[3,19],
//    animateEnable:"panTo"     //移动动画效果（没看出来有啥）
//    isHotspot:true,
    keyboardEnable:true,//可以使用

});

</script>
</body>
</html>